// arr: 要操作的数组, deleteValue要删除的元素
export const remove = (arr, deleteValue) => {
  const index = arr.indexOf(deleteValue)
  if (index !== -1) {
    arr.splice(index, 1)
    return true
  } else {
    return false
  }
}
